let mysqlpool = require("../../model/connect");
const getOrderbyOrderIdControler=async (request,response)=>{
    let {order_id} = request.query;
    //通过名字获取所有订单信息
    let sql_check = `select * from order_form WHERE order_id = '${order_id}'`
    await mysqlpool.query(sql_check, (err,res)=>{
        console.log(res);
        response.send({res});
     })
    
}
module.exports=getOrderbyOrderIdControler